<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			let user = {
				name:  "zhang3",
				age: 18,
				mobile: "987452"
			}
			// console.log(user.name)
			
			/* const {
				name,
				age
			}=user
			console.log(name)
			console.log(age) */
			const {
				name,...info
			}=user
			console.log(name)
			console.log(info.age)
			console.log(info.mobile)
		</script>
	</head>
	<body>
	</body>
</html>